package cn.pojo;

import org.springframework.stereotype.Component;

/**
 * 异常上报个人实体类
 */
@Component
public class HealthAbnormalPerson {
    private Integer abnormalIdP; // 自增主键
    private String abnormalUserIdP; // 发生异常用户openid
    private String abnormalOrderIdP; // 发生异常的订单编号
    private String abnormalInfoP; // 异常信息
    private Integer abnormalStatusP; // 异常订单状态，默认：0

    public HealthAbnormalPerson() {
    }

    /**
     *
     * @param abnormalIdP 自增主键
     * @param abnormalUserIdP 发生异常用户openid
     * @param abnormalOrderIdP 发生异常的订单编号
     * @param abnormalInfoP 异常信息
     * @param abnormalStatusP 异常订单状态，默认：0
     */
    public HealthAbnormalPerson(Integer abnormalIdP, String abnormalUserIdP, String abnormalOrderIdP, String abnormalInfoP, Integer abnormalStatusP) {
        this.abnormalIdP = abnormalIdP;
        this.abnormalUserIdP = abnormalUserIdP;
        this.abnormalOrderIdP = abnormalOrderIdP;
        this.abnormalInfoP = abnormalInfoP;
        this.abnormalStatusP = abnormalStatusP;
    }

    public Integer getAbnormalIdP() {
        return abnormalIdP;
    }

    public void setAbnormalIdP(Integer abnormalIdP) {
        this.abnormalIdP = abnormalIdP;
    }

    public String getAbnormalUserIdP() {
        return abnormalUserIdP;
    }

    public void setAbnormalUserIdP(String abnormalUserIdP) {
        this.abnormalUserIdP = abnormalUserIdP;
    }

    public String getAbnormalOrderIdP() {
        return abnormalOrderIdP;
    }

    public void setAbnormalOrderIdP(String abnormalOrderIdP) {
        this.abnormalOrderIdP = abnormalOrderIdP;
    }

    public String getAbnormalInfoP() {
        return abnormalInfoP;
    }

    public void setAbnormalInfoP(String abnormalInfoP) {
        this.abnormalInfoP = abnormalInfoP;
    }

    public Integer getAbnormalStatusP() {
        return abnormalStatusP;
    }

    public void setAbnormalStatusP(Integer abnormalStatusP) {
        this.abnormalStatusP = abnormalStatusP;
    }

    @Override
    public String toString() {
        return "HealthAbnormalPerson{" +
                "abnormalIdP=" + abnormalIdP +
                ", abnormalUserIdP='" + abnormalUserIdP + '\'' +
                ", abnormalOrderIdP='" + abnormalOrderIdP + '\'' +
                ", abnormalInfoP='" + abnormalInfoP + '\'' +
                ", abnormalStatusP=" + abnormalStatusP +
                '}';
    }
}
